#!/bin/bash

if [ -n "$COLDPIG" ];then
  export COLDPIG_TARGET=`root-config --arch`
  export COLDPIG_COMPILE=""
  export LD_LIBRARY_PATH="$COLDPIG/lib:$LD_LIBRARY_PATH"
  export PATH="$COLDPIG/bin:$PATH"
  echo "COLDPIG is in $COLDPIG"
else
  echo "Define \$COLDPIG first !!!"
fi
